package generic;
/**
 * @Author: cjj
 * @Date: 2025/4/29
 * Cat extend Animal类
 */
public class Cat extends Animal{
    @Override
    public void eat() {
        System.out.println("猫喜欢吃鱼");
    }
}
